

# 找出92对应的第一个索引，如果没有则返回-1
lst = [10, 39, 41, 45, 48, 66, 89, 92, 99, 102, 103, 104, 105,161,6566,64566,103454,114514,7899861,17466660,1616498494,612626261611]
def check(lst,x, l, r):
    if len(lst) > 0:
        for i in range(len(lst)):
            mid = l+(r-l)//2
            if lst[mid] > x:
                return check(lst, x, l, mid)
            elif lst[mid]<x:
                return check(lst, x, mid+1, r)
            else:
                return mid
    else:
        return -1


print(check(lst, 114514, 0, len(lst)))

# for i in range(len(lst)):
#     if lst[i] == 93:
#         print(i)
#         break
# else:
#     print('全体目光向我看齐')
